WOLF core
WOLF: A Modular Estimation Framework for Robotics
XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0" name="MSearchResults" id="MSearchResults">
wolf::VectorComposite Class Reference

Composite of state vectors. More...

#include <core/composite/vector_composite.h>

Inheritance diagram for wolf::VectorComposite:
[legend]

Public Member Functions

 VectorComposite (const Composite< Eigen::VectorXd > &_composite)
 Constructor from a composite of vectors. More...
 
Eigen::VectorXd vector (const StateKeys &_keys) const
 Returns the concatenation of the vectors of the given keys. More...
 
- Public Member Functions inherited from wolf::Composite< Eigen::VectorXd >
 Composite (const YAML::Node &_n, const std::string &_field, const bool _required, const std::string &_keys=ALL_KEYS)
 Constructor from a YAML map of keys. More...
 
virtual ~Composite ()=default
 Destructor. More...
 
bool has (char _key) const
 Returns whether the composite has a key. More...
 
bool has (const StateKeys &_structure) const
 Returns whether the composite has all the keys. More...
 
StateKeys getKeys () const
 Returns all the keys. More...
 
Composite operator() (const std::string &_keys) const
 Returns the composite of the given keys. Throws if any is missing. More...
 
YAML::Node toYaml () const
 Returns a YAML map of the keys. More...
 

Friends

std::ostream & operator<< (std::ostream &_os, const wolf::VectorComposite &_x)
 Prints the vector composite to a stream. More...
 

Additional Inherited Members

- Public Types inherited from wolf::Composite< Eigen::VectorXd >
using CompositeType = Eigen::VectorXd
 Type of the stored values. More...
 

Detailed Description

Composite of state vectors.

Constructor & Destructor Documentation

◆ VectorComposite()

wolf::VectorComposite::VectorComposite ( const Composite< Eigen::VectorXd > &  _composite)

Constructor from a composite of vectors.

Member Function Documentation

◆ vector()

VectorXd wolf::VectorComposite::vector ( const StateKeys &  _keys) const

Returns the concatenation of the vectors of the given keys.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  _os,
const wolf::VectorComposite &  _x 
)
friend

Prints the vector composite to a stream.


The documentation for this class was generated from the following files: